import Vue from 'vue'
import { ButtonGroup,Button, Table, Form, FormItem, Input,Icon,Message,Modal,Dropdown,DropdownMenu,DropdownItem } from 'view-design';


Vue.component('Icon', Icon);
Vue.component('Form', Form);
Vue.component('Input', Input);
Vue.component('Table', Table);
Vue.component('Modal', Modal);
Vue.component('Button', Button);
Vue.component('ButtonGroup', ButtonGroup);
Vue.component('FormItem', FormItem);
Vue.component('Dropdown', Dropdown);
Vue.component('DropdownMenu', DropdownMenu);
Vue.component('DropdownItem', DropdownItem);

import 'view-design/dist/styles/iview.css';

Vue.prototype.$Message = Message;